#pragma once
#define GLEW_STATIC
#include <libglew/glew.h>
#ifdef WIN32
#include <GL/glut.h>
#endif
#ifdef __APPLE__
#include <GLUT/glut.h>
#endif
#include <string>
#include <iostream>
#include <fstream>

namespace lib3dw 
{
	class GLSLShader
	{
		public:
			GLSLShader(const char* , GLenum);
			~GLSLShader();

			GLuint GetShaderID() const;
			const char* ReadShaderFile(const char*);

		private:
			GLuint id;
			std::string file;
			void CheckCompilerLog();
	};
}